setCropRotation

abstract fun setCropRotation(block: DesignBlock, rotation: Float)

Set the crop rotation of the given design block. Required scope: "layer/crop"

Parameters

block

the block whose crop rotation should be set.

rotation

the rotation in radians.